package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.PledgeStatBean;

/**
* 描述：获取股票质押统计数据
* @author: codesmith
**/
@Data
@TableName("pledge_stat")
public class PledgeStatEntity implements PledgeStatBean {
    
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 截止日期
    */
    @TableId
    @TableField("`end_date`") protected LocalDate endDate;

    @TableField("`pledge_count`") protected Integer pledgeCount;

    @TableField("`unrest_pledge`") protected Double unrestPledge;

    @TableField("`rest_pledge`") protected Double restPledge;

    @TableField("`total_share`") protected Double totalShare;

    @TableField("`pledge_ratio`") protected Double pledgeRatio;
}